﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using SMS.Entities.Master;
using SMS.Entities;

namespace SMS.Web.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IBranchService" in both code and config file together.
    [ServiceContract]
    public interface IBranchService
    {
        [OperationContract]
        List<Branch> SearchBranch(string userName, string SearchText, out SMS.Entities.SMSException ServiceError);

        [OperationContract]
        int SaveBranch(string username, Entities.Master.Branch BranchObject, out SMSException serviceError);
    }
}
